package com.ck.ips.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDeviceGroupMapper {

	int insert(@Param("roleId") Long roleId, @Param("deviceGroupIds") String[] deviceGroupId);

	int delByRoleId(@Param("roleId") Long roleId);

	int delByDeviceGroupId(@Param("deviceGroupId") Long deviceGroupId);

	List<Long> getDeviceGroupIdByRoleId(@Param("roleId") Long roleId);
}